            <!--***** CONTENT *****--> 
            <div class="row">
                <table class="table table-hover">
                  <thead>
                    <tr class="bg-info text-white">
                      <th>序号</th>
                      <th>新闻标题</th>
                      <th>新闻类型</th>
                      <th>作者</th>
                      <th>发布者</th>
                      <th>新闻内容</th>
                      <th>审核状态</th>
                      <th>发布时间</th>
                      <th>操作</th>
                    </tr>
                  </thead>
                  <tbody>
                  	<?php foreach($data as $key=>$v){?>
                  	<form  action="" method="get">
                    <tr>
                      <th scope="row"><?php echo $v['id']; ?></th>
                      <td><?php echo mb_substr($v['title'],0,10,'utf-8'); ?>...</td>
                      <td><?php echo $v['type']; ?></td>
                      <td><?php echo $v['author']; ?></td>
                      <td><?php echo $v['send_user']; ?></td>
                      <td><?php echo mb_substr($v['content'],0,15,'utf-8'); ?>...</td>
                      <td><?php echo $v['status']; ?></td>
                      <td><?php echo $v['create_time']; ?></td>
                      <td>
                      	<a href="news_edit.php?id=<?php echo $v['id'];?>" type="button" class="btn btn-primary">编辑</a>
                      	<!--   ?id=11&name=pp&ccc=555   -->
                      	<a href="news_del.php?id=<?php echo $v['id']; ?>" type="button" class="btn btn-danger" onclick="return confirm('确定要删除吗？')" >删除</a>
                      </td>
                    </tr>
                   </from>
                    <?php };?>
                  </tbody>
                </table>
                
            </div> 
            <div class=" pagination pagination-small">
            	<ul>
            		<?php echo $pages;?>
            	</ul>
            </div>
        </div>
  
    
    <!--Core Javascript -->
    <script>
        new Chart(document.getElementById("myChart-nav").getContext('2d'), {
          type: 'doughnut',
          data: {
            labels: ["M", "T", "W", "T", "F", "S", "S"],
            datasets: [{
              backgroundColor: [
                "#2ecc71",
                "#3498db",
                "#95a5a6",
                "#9b59b6",
                "#f1c40f",
                "#e74c3c",
                "#34495e"
              ],
              data: [12, 19, 3, 17, 28, 24, 7]
            }]
          },
          options: {
              legend: { display: false },
              title: {
                display: true,
                text: ''
               } 
            }
        });
    </script> 